<div style="margin: 15px 0px 0px 15px">
	<h3>Cập nhật thông tin loại thẻ</h3><hr />
	<div style="margin-top: 30px;  margin-left: 60px;">
	<div style="background: yellow;">
		<?php echo validation_errors();?>	
	</div>
		<?php echo form_open_multipart(base_url() . 'index.php/cardtype/add') ?>
    <table class="form">
        <tr>
            <td class="label">Tên loại thẻ:</td>
            <td><input type='text' name='name' id='name'></td>
        </tr>

        <tr>
            <td class="label">Mô tả:</td>
            <td><textarea type='text' name='description' id='description' style='border: 1px solid #BDC7D8;padding:3px;width: 500px; height:200px;'/></textarea></td>
        </tr>

        
       <tr>
            <td class="label">Trạng thái:</td>       
            <td>
                <select name="status" id="status" style = "width:250px">         
                    <option value="active">active</option>
                    <option value="deactive">deactive</option>
                </select>
            </td>
        </tr>

            
        <tr>
        <input type="hidden" value="Add" name="add"/>
        <td>
            <button type="submit" class="button" style="border: none;background: none"/>
            <span class="button_left button_save"></span>
            <span class="button_middle">Save</span>
            <span class="button_right"></span>
            </button>

            <a class="button" onclick="history.go(-1);">
                <span class="button_left button_cancel"></span>
                <span class="button_middle">Cancel</span>
                <span class="button_right"></span>
            </a>
        </td>
        </tr>
        </tr>    

	</div>
	</form>
</div>